package com.ma.springframework.beans.factory.support;

import com.ma.springframework.beans.BeansException;
import com.ma.springframework.beans.factory.config.BeanDefinition;

public interface BeanDefinitionRegistry {
    void registerBeanDefinition(String beanName, BeanDefinition beanDefinition);
    BeanDefinition getBeanDefinition(String beanName) throws BeansException;

    boolean containBeanDefinition(String beanName);
    String[] getBeanDefinitionNames();
}
